import request from '@/utils/request'

// 分页查询角色数据
export const GetSysRoleListByPage1 = (page , limit , parms) => {
    return request({
        url: '/sys/BPMonitoring/list/' + page + "/" + limit,
        method: 'get',
        params: parms
    })
}
export const GetSysRoleListByPage2 = (page , limit , parms) => {
    return request({
        url: '/sys/BSMonitoring/listFollow/' + page + "/" + limit,
        method: 'get',
        params: parms
    })
}
//查状态
export const findstore = () => {
    return request({
        url: '/sys/BPMonitoring/findstore',
        method: 'get',
    })
}

//查状态
export const yujing = () => {
    return request({
        url: '/sys/BPMonitoring/yujing',
        method: 'get',
    })
}




// 高血压干预
//查状态
export const listgaofangan = (page , limit , parms) => {
    return request({
        url: '/InterPlan/gaoxueya/listgaoxueya/' + page + "/" + limit,
        method: 'get',
        params:parms
    })
}

export const deleteById = (params) => {
    return request({
        url: '/InterPlan/gaoxueya/deleteById',
        method: 'delete',
        data:params
    })
}